﻿
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;
using Volo.Abp.Domain.Repositories;
using tms.ApprovalDetails.Dto;
using Microsoft.AspNetCore.Mvc;
using tms.Filters;

namespace tms.ApprovalDetails
{
    [ApiExplorerSettings(GroupName = "v2")]
    [CustomerAuth]

    public class ApprovalDetailService : CrudAppService<ApprovalDetail, ApprovalDetailDto, Guid, PagedAndSortedResultRequestDto, CreateUpdateApprovalDetailDto>, IApprovalDetailService
    {
        private readonly IRepository<ApprovalDetail, Guid> repository;

        public ApprovalDetailService(IRepository<ApprovalDetail, Guid> repository) : base(repository)
        {
            this.repository = repository;
        }

        public override Task<PagedResultDto<ApprovalDetailDto>> GetListAsync(PagedAndSortedResultRequestDto input)
        {
            return base.GetListAsync(input);
        }
    }
}